ADP\BaseVersion\Includes\Core\RuleProcessor\PersistentRuleProcessor D

Total Complexity 153
Dependencies 21
Dependents 1
Total lines 933
Lines of code 553
Logical lines of code 350
Comment lines 183
Methods 24
Properties 13

Methods 24

Method Rating Maintainability Complexity Lines of code
applyRangeDiscounts()
D
12
90 300
processWithPrice()
B
36 15 90
isCategoryMatched()
A
55 8 20
isRuleOptionalMatchedCart()
S
63 5 11
__construct()
S
57 3 16
applyProductAdjustment()
S
60 3 13
isRuleMatchedCart()
S
64 3 11
addFreeProducts()
S
63 3 10
addAutoAddProducts()
S
63 3 10
applyPriceToCartItem()
S
64 2 10
process()
S
63 2 10
addAutoAdds()
S
72 2 6
applyToCartItem()
S
64 2 10
addGifts()
S
72 2 6
isProductMatched()
S
82 1 3
getLastExecTime()
S
82 1 3
applyToCart()
S
82 1 3
applyCartAdjustments()
S
80 1 3
matchConditions()
S
80 1 3
checkLimits()
S
80 1 3
withContext()
S
81 1 3
getStatus()
S
82 1 3
getRule()
S
82 1 3
checkConditions()
S
80 1 3